import request from '@/utils/request'

// 聊天
export function getReply(params: { query: string }) {
  return request({
    url: '/chatgpt/chat',
    method: 'get',
    params
  })
}

// 获取图片
export function getImage(params: { query: string }) {
  return request({
    url: '/chatgpt/image',
    method: 'get',
    params
  })
}
